package history

class Team {
    String name
    String memo
    static hasMany = [accounts:Account,powers:Power]

    static constraints = {
        name(blank:false,unique:true)
        memo(nullable:true)
        accounts(nullable:true)
        powers(nullable:true)
    }

    String toString(){
        name
    }
}
